common pattern